Closed matiasvlevi closed 3 years ago
I am providing the full screenshot of this occurance.
Looks like @babel/core
is not installed, I just commited the package.json
with it installed.
You can install it with npm install @babel/core --save-dev
. Let me know if this works.
I insitalled @babel/core. Then I ran npm run test
,
I got the same error but with:
>> Error: Cannot find module 'mocha'
Then I installed mocha: npm install mocha --save-dev
. After that it showed:
>> Error: Cannot find module 'terser'
Warning: Cannot find module 'prettier'
After installing these two: I have this now.
I'm going to add these dependencies in package.json
, it must have worked on my computer because of global modules.
The error I see in the screenshot is not a dependency issue, its something I just fixed in the gruntfile. I think the new gruntfile I commited should work.
Nice. npm run test
is working now.
npm run build
was failing with this error:
However, after running npm run test
for the first time, npm run build
started working correctly too.
I have checked npm run final
too. It is working well.
So I think my testing brunch is ok now. I will create a pull request from it for you. You can merge them if you think everything is ok there.
Perfect! I'll look into the whole test
before build
thing, this is an error with grunt tasks.
Other than that I'm merging your branch!
We are getting errors with
npm run test
andnpm run build
npm run test
:npm run build
:I am not sure why this is happening. I am using node 14.17.1 by the way, in windows.
Originally posted by @Labnann in https://github.com/matiasvlevi/Dann/issues/22#issuecomment-869055913