Object prototype may only be an Object or null: undefined



title: 'Object prototype may only be an Object or null: undefined'
date: 2019-06-06 14:23:29
tags: error
categories: "2019-06"

Object prototype may only be an Object or null: undefined

在引用包的时候, 记录报错, 找了半天不知道什么原因.
到后来通过切换了两个包的引入位置, 而进行了解决.

import a from 'a';
import b from 'b';

//error Object prototype may only be an Object or null: undefined

fixed(途径):

import b from 'b';
import a from 'a';


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM